package cn.tedu.four.web;

import lombok.Data;

/**
 * ClassName: ServiceCode
 * Package: cn.tedu.four.web
 * Description:
 *
 * @Author: @Albert
 * @Version: 1.0
 */

public enum ServiceCode {
    /*public static final Integer OK = 200;
    public static final Integer ERR_NOT_FOUND = 404;
    public static final Integer ERR_CONFLICT = 409;*/
    OK(200),//new User();
    ERR_NOT_FOUND(404),
    ERR_BAD_REQUEST(400),
    ERR_CONFLICT(409);

    private Integer value;
    ServiceCode(Integer value){
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }
}
